package com.example.orderservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hotelservice.pojo.vo.DetailVO;
import com.example.orderservice.pojo.po.RoomPO;
import com.example.orderservice.pojo.vo.RoomVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2023/4/11 20:22
 */
@Mapper
@Repository
public interface RoomMapper extends BaseMapper<RoomPO> {
    public List<RoomVO> getAllList(@Param("vo") RoomVO roomVO);
    public DetailVO getDetail(String id);
    public  List<RoomVO> getRoomTypeList(@Param("vo") RoomVO roomVO);

    Integer unlockRoom(String id);
}
